/**
 * 
 */
package coffeebar;

import java.awt.Component;
import javax.swing.JPanel;

public class QuestionPanel extends JPanel {

	public void setGrayed(boolean en) {
		final Component[] child = getComponents();
		for (int i = 0; i < child.length; i++) {
			child[i].setEnabled(!en);
		}
	}
}
